package com.ruoyi.syf.domain.vo;

import com.ruoyi.syf.domain.RiskCheckDanger;
import com.ruoyi.syf.domain.RiskCheckDangerDetect;
import com.ruoyi.syf.domain.RiskCheckDangerFix;
import com.ruoyi.syf.domain.RiskCheckRecord;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("排查总实体类")
public class RiskCheckVo extends RiskCheckRecord {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("对象名称")
    private String objectName;

    @ApiModelProperty("单元名称")
    private String unitName;

    @ApiModelProperty(value = "检查人名称")
    private String checkByNames;

    @ApiModelProperty(value = "实际检查人名称")
    private String checkByName;

    @ApiModelProperty(value = "整改人名称")
    private String fixBy;

    @ApiModelProperty(value = "实际整改人名称")
    private String actualFixBy;

    @ApiModelProperty(value = "验收人名称")
    private String detectByName;

    @ApiModelProperty(value = "实际验收人名称")
    private String actualDetectByName;

    @ApiModelProperty("单元ID")
    private List<Long> unitIds;

    @ApiModelProperty("排查时间区间")
    private List<Date> checkTimes;

    @ApiModelProperty("隐患信息")
    private RiskCheckDanger checkDanger;

    @ApiModelProperty("整改信息")
    private RiskCheckDangerFix checkFix;

    @ApiModelProperty("验收信息")
    private RiskCheckDangerDetect checkDetect;

}
